//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package 力扣.题库.未分类.demo_1656;

public class demo_1656 {
    public demo_1656() {
    }

    public static void main(String[] args) {
        OrderedStream os = new OrderedStream(5);
        System.out.println(os.insert(3, "ccc"));
        System.out.println(os.insert(1, "aaa"));
        System.out.println(os.insert(2, "bbb"));
        System.out.println(os.insert(5, "eee"));
        System.out.println(os.insert(4, "ddd"));
    }
}
